import loginUser from "./loginUser";
import { createStore, createLogger } from "vuex";

// createStore的参数和vue2的差不多
export default createStore({
  modules: {
    loginUser,
  },
  plugins: [createLogger()], // 日志打印插件,可以打印触发的action和mutation的日志
});

